package com.faceye.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@Import({JpaConfiguration.class})
//@SpringBootConfiguration
//("classpath*:application.properties")
@EnableJpaRepositories(repositoryBaseClass = com.faceye.core.repository.jpa.impl.BaseRepositoryImpl.class, basePackages = {
		"com.faceye" }, enableDefaultTransactions = true, repositoryImplementationPostfix = "Impl")
@EnableTransactionManagement
public class Application  {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}
